package com.aaa.demo01;

/**
 * @author ${崔灿}
 * @date 2022/10/31 09:57
 **/

public class threadTest extends Thread {
    public static void main(String[] args) {
        MyThread m1 = new MyThread();
        m1.setName("线程一");
        m1.start();
        for (int i = 0; i <10;i++) {
            System.out.println(Thread.currentThread().getName() + "****"+i);
        }
    }
}
